﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace PassportsModel
{
    [DataContract]
    public class Guarantor
    {
        [DataMember]
        public PersonDetails PersonDetails { get; set; }

        [DataMember]
        public string PassportNumber { get; set; }
        [DataMember]
        public int MonthsKnownApplicant { get; set; }

        public Guarantor(eGender gender)
        {
            this.PersonDetails = new PersonDetails(gender);
        }

        public Guarantor()
        {
            this.PersonDetails = new PersonDetails();
        }
    }
}
